package com.netty.mappers;

import com.netty.model.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    User getUserByUserId(@Param("userId") Integer userId);

    int addUser(User user);

    List<User> getAllUser();

}
